package com.vchello.service.user;

import com.baomidou.mybatisplus.service.IService;
import com.vchello.bean.user.Invitation;

/**
 * 
 * @author power
 *
 */
public interface InvitationService extends IService<Invitation> {

	boolean saveInvitation(Invitation entity);
	
	Invitation findInvitationByReceiveId(int receiveId);
	
	Invitation findInvitation(int inviteId, int receiveId);
	
	boolean deleteInvitation(Invitation entity);
	
	Invitation findInvitationByCode(String code);
	
	boolean updateInvitation(Invitation entity);
	
}
